SelectionList
- Properties
- Example
- Source Code
- Accessibility
Name | Type | Default Value | Required | Description |
---|---|---|---|---|
items | SelectionListItemObj[] | Yes | list of items to show | |
onSelectionChange | (totalSelected: Record<string, boolean>) => void | No | method to be triggered when the selected value change |
How to use the SelectionList component
const listItems = [{ content: <TextView>my display content</TextView>}, { content: <TextView>my display content 2</TextView>}]
<SelectionList items={listItems} />
Full code for the SelectionList component
export * from './SelectionList'
export { default } from './SelectionList'